package com.last.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.last.entity.Order;
import com.last.entity.User;
import org.apache.ibatis.annotations.Param;

public interface PersonalMapper {

    //用户查询所有订单
    public IPage<Order> userListAllOrder(@Param("iPage") IPage iPage,
                                         @Param("userId") int userId);

    //用户查看个人信息
    public IPage<User> userListInformation(@Param("iPage") IPage iPage,
                                           @Param("userId") int userId);
}
